package com.applet.vo;

import com.applet.entity.OrderDetail;
import com.applet.entity.Orders;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;


/**
 * 历史订单 返回的vo
 */
@Data
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
public class OrderVO extends Orders implements Serializable {

    //订单中，菜品名称和数量信息   可乐*3;啤酒*2;......
    private String orderDishes;

    //订单详情
    private List<OrderDetail> orderDetailList;

}
